package com.hpdz.hotel_back.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Customer extends Human {

    @TableId(type = IdType.AUTO)
    private Integer id; // 主键id
    private String nickName; // 用户名

    @TableField("passwd")
    private String password; // 密码
    private String telNumb; // 电话
    private String email; // 邮箱
    private String cardNumb; // 身份证
    private Integer vip; // vip 等级
    private Double balance; // 账户剩余money
    private String picture; // 头像地址!
}
